#ifndef GROUP_H_
#define GROUP_H_

#include "object3d.h"
//#include <vector.h>

using namespace std;

#define MAX_OBJ_NUMBER 100

class Group : Object3D
{
public:
	Group(int objnum);
	void addObject(int index, Object3D *obj);
	bool intersect(const Ray &r, Hit &h, float tmin);
	bool inside(d_Vec3f point) {return false;}
//protected:
	Object3D *objects[20000];
	int objectNumber;
	
}; 

#endif /*GROUP_H_*/
